from django.db import models
# -*- coding: utf-8 -*-
def decode(info):
    return info.decode('utf-8')

# Create your models here.
class Job(models.Model):
    jobName = models.CharField(max_length=100)# 职位名
    companyName = models.CharField(max_length=100) #公司名
    workPlace = models.CharField(max_length=20) # 工作地点
    minSalary = models.IntegerField(default=0) # 薪资最小值
    maxSalary = models.IntegerField(default=0) # 薪资最大值
    releaseTime = models.DateField(auto_now=True) # 发布时间
